package com.lyc.pojo;

//城市表
public class City {
    private int cid;//城市编号
    private String area;//地区
    private int cityid; //省市ID
    private int level;  //地区等级（属于省？市？县？）

    public City() {
    }

    public City(int cid, String area, int cityid, int level) {
        this.cid = cid;
        this.area = area;
        this.cityid = cityid;
        this.level = level;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public int getCityid() {
        return cityid;
    }

    public void setCityid(int cityid) {
        this.cityid = cityid;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "City{" +
                "cid=" + cid +
                ", area='" + area + '\'' +
                ", cityid=" + cityid +
                ", level=" + level +
                '}';
    }
}
